<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" import="myauctioneer.dto.User" import="myauctioneer.App" %>
<%@ include file="header.jsp" %>


<div id="content">
	<h1>Registration</h1>
	<p>
		<form action="<%= App.getBaseUrl() %>/user/register" method="post">
			<table>
				<tr>
					<td><label for="name">Name</label></td>
					<td><input type="text" name="name" value="<%= request.getParameter("name") != null ? request.getParameter("name") : "" %>" /></td>
				</tr>
				<tr>
					<td><label for="address">Address</label></td>
					<td><input type="text" name="address" value="<%= request.getParameter("address") != null ? request.getParameter("address") : "" %>" /></td>
				</tr>
				<tr>
					<td><label for="phone">Phone</label></td>
					<td><input type="text" name="phone" value="<%= request.getParameter("phone") != null ? request.getParameter("phone") : "" %>" /></td>
				</tr>
				<tr>
					<td><label for="email">E-Mail</label></td>
					<td><input type="text" name="email" value="<%= request.getParameter("email") != null ? request.getParameter("email") : "" %>" /></td>
				</tr>
				<tr>
					<td><label for="password">Password</label></td>
					<td><input type="password" name="password" value="<%= request.getParameter("password") != null ? request.getParameter("password") : "" %>" /></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td><input type="submit" value="Register" /></td>
				</tr>
			</table>
		</form>
	</p>
</div>

<%@ include file="footer.jsp" %>

